package com.yufeng.collaboration.service;

import com.yufeng.collaboration.entity.Document;

import java.util.List;

public interface DocumentService {
    List<Document> getDocumentsByGroupId(Integer groupId);
    Document getDocumentById(Integer id);
    void createDocument(Document document);
    void updateDocument(Document document);
    void deleteDocument(Integer id);
}